<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
    <ui:composition template="template.xhtml">
        <ui:define name="content">
            <h:form id="formLogin">
                <p:growl/>
                <p:panelGrid columns="2" style="text-align: center;margin-left: 35%">
                    <p:outputLabel value="Login: " for="login"/>
                    <p:inputText id="login" value="#{logar.login}"/>

                    <p:outputLabel value="Senha:" for="password"/>
                    <p:password value="#{logar.senha}" id="password"/>
                </p:panelGrid>
                <p:commandButton value="Log in" action="#{logar.logar(event)}" ajax="false" style="margin-left: 45%"/>
            </h:form>
        </ui:define>
    </ui:composition>
</html>
